import { createRootRoute, redirect } from "@tanstack/react-router";

import { PageWrapper } from "entities/pageWrapper";

export const Route = createRootRoute({
	beforeLoad: () => {
		redirect({
			to: "/dashboard",
		});
	},
	component: PageWrapper,
});
